package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.LoginParam;
import com.jbp.utils.PageUtils;
import com.jbp.model.User;
import com.jbp.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lucheng feng
 * @email jbp@gmail.com
 * @date 2020-06-13 23:01:27
 */
public interface UserService extends IService<User> {


    PageUtils queryPage(List<Integer> ids,Integer pg);


    boolean isCodeExits(String code);

    boolean isUuidExits(String uuid);

    User modifyInformation(User user);

    User getUserInformation(Integer myUserId, User user);

    PageUtils searchUser(Map<String, Object> params);

    PageUtils latestUser(Map<String, Object> params);

    int getPeopleMood(Integer userId);

    PageUtils recommendUser(Map<String, Object> params);

    PageUtils youLikeUser(Map<String, Object> params);

    int winCount(String ip);

    User getByUuid(String uuid);
}

